#ifndef __DYNAMICARRAY_H_
#define __DYNAMICARRAY_H_

#define ElementType void*
struct DynamicArray
{
  ElementType * dp;
  int size;
  int len;
};

typedef struct DynamicArray DMArray;
int ArrayInit(DMArray *array);
void FreeArray(DMArray *array);
int InsertArray(DMArray*array,ElementType element);
#endif
